<template>
	<view class="wdye">
		<view class="wdye_bg">
			<view class="xmk"><image src="../../../static/wdye.png" style="width: 250rpx;height:50rpx;" /></view>
			<view class="count_tj">
				<view>剩余<span style="font-size: 80rpx;">15</span>/次</view>
				<view>总共<span style="font-size: 80rpx;color: #EBBB73;">30</span>/次</view>
			</view>
			<view class="btn_look">
				查看记录
			</view>
		</view>
		<view class="mycard">
			<view class="top_tab">
				<u-tabs :list="list1" :scrollable="false"  lineWidth="30"
				lineColor="#FDCE9A"
				:activeStyle="{
					color: '#000',
					fontWeight: 'bold',
					transform: 'scale(1.01)'
				}"
				:inactiveStyle="{
					color: '#DBDBDB',
					transform: 'scale(1)'
				}"
				itemStyle="padding-left: 15rpx; padding-right: 15rpx;height:60rpx;"></u-tabs>
			</view>
			<view style="padding: 50rpx 24rpx;">
				<view class="desc" v-for="item in 5" :key="item">
					<view><text>消费时间：</text>2023/11/12  13:23</view>
					<view><text>缴费金额：</text>-300</view>
					<view><text>消费项目：</text>在线线商城购物</view>
					<view class="hr_solid"></view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list1: [{
					name: '余额充值记录',
				}, {
					name: '余额消费记录',
				}],
				curr:0
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
	.mycard{
		width: 100%;
		margin-top: 13rpx;
		min-height: 1143rpx;
		background: #FFFFFF;
		border-radius: 20rpx;
		.top_tab{
			width: 100%;
			height: 107rpx;
			padding: 45rpx 29rpx;
		}
		.desc{
			font-size: 20rpx;
			line-height: 50rpx;
			text{
				color:#808080;
			}
			.hr_solid{
				width: 100%;
				margin-top: 20rpx;
				border: 1rpx solid #EBEBEB;
			}
		}
	}
	.wdye{
		margin: 20rpx;
	}
.wdye_bg{
	width: 100%;
	height: 320rpx;
	background: #202020;
	border-radius: 20rpx;
	position: relative;
	.xmk{
		position: absolute;
		top: 0rpx;
		left:240rpx;
	}
	.count_tj{
		position: absolute;
		width:603rpx;
		top: 106rpx;
		left:50rpx;
		color:#fff;
		font-size: 30rpx;
		display: flex;
		justify-content: space-between;
	}
	.btn_look{
		width: 221rpx;
		height: 69rpx;
		border-radius: 100rpx;
		border: 2rpx solid #FDCE9A;
		position: absolute;
		bottom: 26rpx;
		left: 250rpx;
		text-align: center;
		color: #FDCE9A;
		line-height: 69rpx;
		font-size: 30rpx;
	}
}
</style>
